#include <iostream>
#include <cstdio>
#include <dice/dice.h>

#define NUMTHROW 1000000

int main(int args,char** argv){

    DINIT

    int result1 = 0;
    int result2 = 0;
    int stack;

    for( int i = 0; i < NUMTHROW; i++ ){
        stack =  3*D(6)*2  + 2*D(10)  + 5;
        result1 += stack;
    }
    result1 /= NUMTHROW;


    for( int i = 0; i < NUMTHROW; i++ ){
        stack =     3*DR(6)*2  + 2*DR(10)  + 5;
        result2 += stack;
    }
    result2 /= NUMTHROW;

    printf("Moyenne %d lances: (%d,%d)\n",NUMTHROW,result1,result2);

    return 0;
}
